﻿using Microsoft.Extensions.Primitives;
using SUNRPA.CONTROLS.IMPL.domain.attrubutes;

namespace SUNRPA.CONTROLS.IMPL.domain.flowRunningVar {
    [ClassInfo("整数")]
    public class IntModel : RPAVariable {
        private int intValue;
        public int IntValue { 
            get { return intValue; }
            set { intValue = value; }
        }
        public IntModel(string name, int value) { 
            VarName = name;
            intValue = value;   
        }
        [VariableMemberInfo("转成字符串")]
        public override string ToString() { 
            return IntValue.ToString();
        }
    }
}
